// import count from '@feidao/web/atom/nodejs/db/count';
import query from '@dfeidao/atom-nodejs/db/query';
import { productid } from '../../atom/config';


interface Message {
	productid: string;
}
export default async function atom(msg: Message, action_id: string, session_id: string) {
	const systemid = '11';
	const { exec, prepare } = query(action_id, session_id, systemid);
	prepare('pub_systemid', ['systemid', 'refsystemid'], { productid }, 100, 1, [], []);
	const [data] = await exec();
	return data;
}
